import time
from kea2.hypiumKea import Kea2_RPC

if __name__ == "__main__":

    kea2 = Kea2_RPC(
        device_sn="23E0224307001843",
        driverName="d",
        root_dir="/Users/atria/Desktop/coding/hypiumKea/Kea2/hypiumtests",
    )

    kea2.start()

    print("[Kea2] started")

    for i in range(3):
        print(kea2.exec_prop())
        time.sleep(5)
        print(kea2.exec_prop())
        time.sleep(5)

    kea2.tearDown()
